<?php


namespace app\controller;

use app\model\Role as RoleModel;
use think\facade\View;

class Role
{
    public function index()
    {
        
        return view::fetch('index', [
            'list'=>RoleModel::order('id','desc')->paginate(5)
        ]);
    }
}